Try this: http://www.thetechlabs.com/tutorials/flash/swfobject-and-best-practice-implementation/
This website helps you all the way. It worked for me on all browsers. On Tue, Jun 15, 2010 at 5:02 PM, Blaney <cjblan...@gmail.com> wrote: > I'm having trouble with swf object working correctly in IE. More > specifically I want to have the width and height automatically conform > to the what the size of the window the user is viewing the swf in is. > > In Firefox and other browsers; I simply have 100% in both the width > and height values. Here is the code: > > <script type="text/javascript"> > var flashvars = {} > var params = { > base: ".", > allowfullscreen: "true", > bgcolor: "#000000" > } > var attributes = {} > swfobject.embedSWF("slideshow.swf", "flashcontent", "100%", "100%", > "9.0.0", false, flashvars, params, attributes); > </script> > > However, this percentage value makes the flash file not load at all in > IE[7]. In order to get it to work in IE I need to put pixel values. > Is there a way around this that does not involve actionscript? (I > don't have access to the original .fla file. > > Thank you for all responses. > -Blaney > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to swfobj...@googlegroups.com. > To unsubscribe from this group, send email to > swfobject+unsubscr...@googlegroups.com<swfobject%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to swfobj...@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.